package com.cqjtu.studentdocument.dao;

import com.cqjtu.studentdocument.entity.CheckInfo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckInfoDao extends BaseDao<CheckInfo> {

    List<CheckInfo> getDataAnalysis(@Param("userId") Integer userId);

    CheckInfo getCurrentCheckInfo(@Param("userId") Integer userId);

    List<CheckInfo> getStudyYear();

    List<CheckInfo> getCollege();

    Integer checkCount(@Param("studyYear")String studyYear,@Param("checkYear")String checkYear);

    Integer checkCountBySex(@Param("sex") String sex,@Param("studyYear")String studyYear,@Param("checkYear")String checkYear);
}
